//
//  TLReachability.h
//  KidReading
//
//  Created by telen on 16/5/6.
//  Copyright © 2016年 刘赞黄Telen. All rights reserved.
//

#import <Foundation/Foundation.h>
//
@class TLReachability;
@protocol TLReachabilityDelegate <NSObject>
@optional
- (void)tlReachabilityNetStatusChanged:(TLReachability*)tlReachability;

@end
//

@interface TLReachability : NSObject
@property(nonatomic,readonly)BOOL netStatus; //网络是否OK
@property(nonatomic,readonly)BOOL wifiStatus;//WiFi是否OK

+ (instancetype)shareInstance;
- (void)startNetStatusNotifier;
- (void)stopNetStatusNotifier;

- (void)registerNotice_delegate:(id<TLReachabilityDelegate>) delegate;
- (void)unRegisterNotice_delegate:(id<TLReachabilityDelegate>) delegate;

@end
